<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>kimi助手</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      width: 300px;
      background-color: #f4f4f9;
      color: #333;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    body.dark-mode {
      background-color: #333;
      color: #f4f4f9;
    }
    h1 {
      font-size: 1.5em;
      color: #4a90e2;
      text-align: center;
    }
    .button-container {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .button {
      flex: 0 0 48%;
      margin: 0 5px;
      padding: 12px 0;
      background-color: #4a90e2;
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .button:hover {
      background-color: #357ab8;
      transform: translateY(-3px);
      box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }
    .button:active {
      transform: translateY(0);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .input {
      width: 100%;
      height: 100px;
      margin-bottom: 10px;
      padding: 5px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .result {
      width: 100%;
      height: 150px;
      margin-top: 10px;
      padding: 5px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #fff;
      overflow-y: auto;
    }
    select {
      width: 100%;
      padding: 5px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
  </style>
</head>
<body>
  <h1>内容翻译与总结插件</h1>
  <select id="languageSelect">
    <option value="zh">中文</option>
    <option value="en">英文</option>
    <option value="es">西班牙语</option>
    <!-- Add more languages as needed -->
  </select>
  <div class="button-container">
    <button class="button" id="translate">翻译</button>
    <button class="button" id="summarize">总结</button>
  </div>
  <textarea class="input" id="inputText"></textarea>
  <div class="result" id="result"></div>
  <script src="sidebar.js"></script>
</body>
</html> 